<template>
  <div class="content">
    <img id="img" width="300" height="auto" src="./assets/vue.svg">
    <!-- 自带 hook -->
    <!-- <hockA a="1111" title="2222"></hockA> -->
  </div>
</template>

<script setup lang="ts">
// 自带hock
// import hockA from "./components/hockA.vue"
import {ref, Directive, DirectiveBinding} from "vue"
import imgBase from "./hocks"

imgBase({
  el: "#img"
}).then(res => {
  console.log(res.baseUrl)
})


</script>

<style lang="less">
body {
  overflow: auto !important;
}
</style>